package com.uzai.console.dto.user.wxworkuser;

import com.uzai.console.dto.BaseDto;
import com.uzai.console.dto.user.wechatuser.WechatUserGroupSendMsgDto;
import com.uzai.console.dto.user.wechatuser.WechatUserQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("企业微信用户查询结果群发任务参数")
public class WxworkUserBatchSendMsgDto extends BaseDto {
    @ApiModelProperty("查询条件参数")
    private WxworkUserQuery wxworkUserQuery;
    @ApiModelProperty("群发消息设置参数")
    private WxworkUserGroupSendMsgDto wxworkUserGroupSendMsgDto;

    @ApiModelProperty(value = "群发消息主任务", hidden = true)
    private Long groupSendJobParentId;

    public WxworkUserQuery getWxworkUserQuery() {
        if(wxworkUserQuery == null){
            wxworkUserQuery = new WxworkUserQuery();
        }
        wxworkUserQuery.setMerId(super.getMerId());
        return wxworkUserQuery;
    }

    public void setWxworkUserQuery( WxworkUserQuery wxworkUserQuery) {
        this.wxworkUserQuery = wxworkUserQuery;
    }

    public WxworkUserGroupSendMsgDto getWxworkUserGroupSendMsgDto() {
        return wxworkUserGroupSendMsgDto;
    }

    public void setWxworkUserGroupSendMsgDto(WxworkUserGroupSendMsgDto wxworkUserGroupSendMsgDto) {
        this.wxworkUserGroupSendMsgDto = wxworkUserGroupSendMsgDto;
    }

    public Long getGroupSendJobParentId() {
        return groupSendJobParentId;
    }

    public void setGroupSendJobParentId(Long groupSendJobParentId) {
        this.groupSendJobParentId = groupSendJobParentId;
    }
}
